public class ReglesLocales {
	public static boolean estVerifiee(int basse, int tenor, int alto,
			int soprano, int accord) {
		int tonique = 0, tierce = 0, quinte = 0;

		if (Harmonisation.natureNote(basse, accord) == 1) {
			tonique++;
			if ((basse < tenor) && (tenor < alto) && (alto < soprano)) {
				if (Harmonisation.natureNote(soprano, accord) == 1)
					tonique++;
				if (Harmonisation.natureNote(soprano, accord) == 3)
					tierce++;
				if (Harmonisation.natureNote(soprano, accord) == 5)
					quinte++;

				if (Harmonisation.natureNote(tenor, accord) == 1)
					tonique++;
				if (Harmonisation.natureNote(tenor, accord) == 3)
					tierce++;
				if (Harmonisation.natureNote(tenor, accord) == 5)
					quinte++;

				if (Harmonisation.natureNote(alto, accord) == 1)
					tonique++;
				if (Harmonisation.natureNote(alto, accord) == 3)
					tierce++;
				if (Harmonisation.natureNote(alto, accord) == 5)
					quinte++;
			}
			if (tonique != 0 && tierce != 0 && quinte != 0)
				return true;
		}
		return false;
	}
}
